import request from './request'

// 获取文章列表
export function getTypeListInfo() {
  return request({
    url: 'getTypeListInfo',
    method: 'get'
  })
}
export function addType(data) {
  return request({
    url: 'addType',
    method: 'post',
    data
  })
}

